Release 10.1A: OpenEdge Data Management:
SQL Reference
LEFT
Returns the leftmost count of characters of
string_exp.Syntax
Example
The following example shows how to use the
LEFTfunction:
Notes
string_expcan be fixed-length or variable-lengthCHARACTERdata types.countcan beINTEGER,SMALLINT, orTINYINTdata types.- If any of the arguments of the expression evaluate to
NULL, the result isNULL.- If the
countis negative, the result evaluates toNULL.- The
string_expand the result can contain multi-byte characters. The function returns the number of characters.Compatibility
ODBC compatible
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |